export default {
  name: [
    { required: true, message: "配置字段名不能为空", trigger: "blur" },
    { min: 1, max: 50, message: "长度在 1 到 50 个字符", trigger: "blur" },
    {
      pattern: /^[a-zA-Z][a-zA-Z0-9_]*$/,
      message: "只可输入英文数字和下划线",
      trigger: "blur"
    }
  ],
  value: [
    { required: true, message: "配置参数不能为空", trigger: "blur" },
    { min: 1, max: 50, message: "长度在 1 到 10 个字符", trigger: "blur" }
  ],
  remark: [
    { required: true, message: "配置说明不能为空", trigger: "blur" },
    { min: 1, max: 10, message: "长度在 1 到 10 个字符", trigger: "blur" }
  ]
};
